//
//  MyTBC.m
//  ResponseChain
//
//  Created by Aimy on 4/13/15.
//  Copyright (c) 2015 aimy. All rights reserved.
//

#import "MyTBC.h"

@interface MyTBC ()

@end

@implementation MyTBC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

//这里可以控制，是否接收消息
//- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
//{
//    if (action == @selector(hanleResponseFromChain:)) {
//        return YES;
//    }
//    
//    return [super canPerformAction:action withSender:sender];
//}

- (IBAction)hanleResponseFromChain:(UIButton *)sender
{
    NSLog(@"%@, %@, %@",NSStringFromClass(self.class) ,NSStringFromSelector(_cmd), [sender titleForState:UIControlStateNormal]);
}

@end
